package springboot.scheduled;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class ScheduledTask {
	
	@Scheduled(cron="1-3 * * * * ?")
	public void print() {
		
		System.err.println("这是啥");
	}

}
